<template>
 <div class="user-level">
    <table-pro :columns="columns"/>
 </div>
</template>

<script lang='ts' setup>
// 定义管理员页面中表格列的数据
const columns: ITableColumn[] = [
  { prop: 'username', label: '用户名' },
  { prop: 'nickname', label: '昵称' },
  { prop: 'email', label: '邮箱' },
  { prop: 'phone', label: '手机号'},
  { prop: 'role', label: '角色' },
  { prop: 'status', label: '状态' },
  { prop: 'created_at', label: '创建时间' },
  { prop: 'updated_at', label: '更新时间' },
  { prop: 'action', label: '操作' }
]
</script>

<style lang='scss' scoped>

</style>
